package com.tencent.compose.video

import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.interop.ArkUIView
import androidx.compose.ui.napi.js

@Composable
actual fun VideoPlayer(
    modifier: Modifier,
    url: String
) {
    ArkUIView(
        name = "video",
        modifier = modifier,
        parameter = js {
            "src"(url)
            "autoplay"(true)
            "controls"(true)
        }
    )
}






